
set(PROTOBUF_IMPORT_DIRS ${Protobuf_INCLUDE_DIRS})
file(GLOB_RECURSE PROTO_LIST ${CMAKE_CURRENT_SOURCE_DIR}/pb/*.proto)


protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS ${PROTO_LIST})
add_library(proto STATIC  ${PROTO_SRCS} ${PROTO_HDRS})

target_link_libraries(proto PRIVATE emoney-core-interface )

target_include_directories(proto PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/)	
set_target_properties(proto PROPERTIES FOLDER "framework")
